﻿@model LeadMaster.Models.FeesCommissions

<style type="text/css">
#EditForm label
{
width: 200px;
}
.editrow
{
height: 40px;
}
</style>

<div id="EditForm">
@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend style="width:500px;">@Model.Sector.Sector</legend>

        @Html.HiddenFor(model => model.FeesCommissionsID)
        @Html.HiddenFor(model => model.SectorID)
        <div class="spacer"></div>

        <div class="editor-label editrow">
            @Html.LabelFor(model => model.LeadFlagsID)
            @Html.DropDownList("LeadFlagsID", null, new { @class="chosen"})
            @Html.ValidationMessageFor(model => model.LeadFlagsID)
        </div>

        <div class="editor-label editrow">
            @Html.LabelFor(model => model.FeeEarnt)
            @Html.EditorFor(model => model.FeeEarnt)
            @Html.ValidationMessageFor(model => model.FeeEarnt)
        </div>

        <div class="editor-label editrow">
            @Html.LabelFor(model => model.AllIntroducers)
            @Html.EditorFor(model => model.AllIntroducers)
            @Html.ValidationMessageFor(model => model.AllIntroducers)
        </div>

        <div class="editor-label editrow">
            @Html.LabelFor(model => model.CallCentreID)
            @Html.DropDownList("CallCentreID", null, "Please select an Introducer", new { @class="chosen"})
            @Html.ValidationMessageFor(model => model.AllIntroducers)
        </div>

        <div class="editor-label editrow">
            @Html.LabelFor(model => model.FeeOwingIntroducer)
            @Html.EditorFor(model => model.FeeOwingIntroducer)
            @Html.ValidationMessageFor(model => model.FeeOwingIntroducer)
        </div>

        <div class="editor-label editrow">
            @Html.LabelFor(model => model.FeeOwingClient)
            @Html.EditorFor(model => model.FeeOwingClient)
            @Html.ValidationMessageFor(model => model.FeeOwingClient)
        </div>

        <div class="editor-label editrow">
            @Html.LabelFor(model => model.UpfrontApplicable)
            @Html.EditorFor(model => model.UpfrontApplicable)
            @Html.ValidationMessageFor(model => model.UpfrontApplicable)
        </div>

        <div class="editor-label editrow">
            @Html.LabelFor(model => model.NotUpfrontApplicable)
            @Html.EditorFor(model => model.NotUpfrontApplicable)
            @Html.ValidationMessageFor(model => model.NotUpfrontApplicable)
        </div>

        <div class="editor-label editrow">
            @Html.LabelFor(model => model.Description)
            @Html.TextBoxFor(model => model.Description, new {@class="largetextbox" })
            @Html.ValidationMessageFor(model => model.Description)
        </div>

        <p>
            <input type="submit" value="Save" />
        </p>
    </fieldset>
}
</div>
<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")

}


